#ifndef _GRID_H
#define _GRID_H

#include<iostream>

using namespace std;

class grid{
	public:
		grid();
		grid(int); 
		grid(int,int);
		grid(const grid&);
		grid& operator= (const grid);
		~grid();
		
		int getTipe();
		void setTipe(int);
		int getDir();
		void setDir(int);

		
	private:
		int tipe;// 0 tidak bisa diapa-apain, 1 bisa dilewati, 2 bisa ditanam
		int direction;// 1 atas,2 kanan, 3 kiri, 4 bawah, default 0
		
};
#endif

